package com.example.designpatten.chapter2_strategypatten.strategy;

import lombok.Data;

@Data
//现金收取父类
public abstract class CashSuper {
    //抽象方法：收取现金，参数为原价，返回为当前价
    public abstract double acceptCash(double money);
}
